-
Home
-
ElasticPress
-
5.3.1
-
Code
-
Classes
- Facets
| Total Complexity |
93 |
| Dependencies |
6 |
| Dependents |
1 |
| Total lines |
756 |
| Lines of code |
343 |
| Logical lines of code |
185 |
| Comment lines |
309 |
| Methods |
27 |
| Properties |
1 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_aggs() |
A |
50 |
14 |
27 |
| is_facetable() |
A |
48 |
13 |
34 |
| build_query_url() |
A |
50 |
9 |
26 |
| get_selected() |
S |
52 |
7 |
24 |
| is_facetable_page() |
S |
77 |
6 |
3 |
| __construct() |
S |
52 |
4 |
24 |
| facet_query() |
S |
55 |
4 |
21 |
| apply_facets_filters() |
S |
58 |
4 |
16 |
| set_agg_filters() |
S |
56 |
3 |
16 |
| get_query_aggregations() |
S |
69 |
4 |
6 |
| set_query_aggregations() |
S |
63 |
3 |
11 |
| get_allowed_query_args() |
S |
61 |
3 |
11 |
| set_i18n_strings() |
S |
59 |
2 |
15 |
| get_facet_aggregation() |
S |
68 |
3 |
7 |
| setup() |
S |
58 |
2 |
14 |
| set_settings_schema() |
S |
58 |
1 |
17 |
| front_scripts() |
S |
59 |
1 |
16 |
| tear_down() |
S |
62 |
1 |
11 |
| admin_scripts() |
S |
70 |
1 |
7 |
| should_sync_to_global() |
S |
79 |
1 |
3 |
| register_widgets() |
S |
79 |
1 |
3 |
| hide_legacy_widget() |
S |
69 |
1 |
7 |
| get_filter_name() |
S |
75 |
1 |
4 |
| get_facetable_taxonomies() |
S |
75 |
1 |
4 |
| get_match_type() |
S |
75 |
1 |
4 |
| remove_facets_filter() |
S |
76 |
1 |
4 |
| setup_endpoints() |
S |
67 |
1 |
8 |